package main;

import org.apache.log4j.Logger;
import org.junit.jupiter.api.Test;
import proxy.IntermediaryImpl;
import proxy.IntermediarySubclass;
import service.Buyer;
import service.impl.RealBuyer;

public class BuyerTest {
    private Logger logger = Logger.getLogger(BuyerTest.class);
    @Test
    public void havealookImpl() throws Exception{
        Buyer buyer = new IntermediaryImpl(new RealBuyer());
        String result = buyer.havealook();
        logger.info(result);
    }


}
